package com.yinxin.wudasuanfa;

/**
 * @author yinxin
 * @version 1.0
 * @Description: 快慢指针
 * @date 2022/4/1714:32
 */
public class Day3 {
    public static void main(String[] args) {

    }

    public class LinkList {
        //定义一个节点
        public class Node{
            private Node next;
            private Object data;

            public Node(Node next, Object data) {
                this.next = next;
                this.data = data;
            }

            public Node getNext() {
                return next;
            }

            public void setNext(Node next) {
                this.next = next;
            }

            public Object getData() {
                return data;
            }

            public void setData(Object data) {
                this.data = data;
            }
        }
        //定义一些链表的方法


    }
}
